<template>
  <div>
    <div>
      <button @click="handleClick">点击1123</button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      message: 'Hello Vue333333222!'
    }
  },
  methods: {
    handleClick() {
      const component = {
        template: `<div>{{ id }}</div>`,
        props: {
          id: {
            type: Number,
          }
        },
      }
      const dialog =  this.$dialog(component,{
        filePath: 'src/demos/ui-dialog-demo1.vue',
        props:{
          id: 13242342342343
        }
      })
    }
  }
}
</script>

<style>

</style>